package org.diysearch.models;

import org.apache.solr.client.solrj.beans.Field;
import org.diysearch.interfaces.Model;

public class Tag extends BaseModel implements Model {
	private int id;
	
	@Field("tag")
	private String name;
	
	public Tag() {}
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String getAliasName() {
		// TODO Auto-generated method stub
		return "tag";
	}

}
